package main

import (
	"gitee.com/zxk7516/laral/models"
	"gitee.com/zxk7516/laral/routes"
	"github.com/astaxie/beego"
)

func main() {

	beego.SetStaticPath("/statics", "statics")
	routes.Routes()
	models.InitDb()
	beego.ErrorController(&routes.ErrorController{})
	beego.Run("127.0.0.1:8686")
}
